//
var TN_Widget = function()
{
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
CreateCustomUrl : function(row)
{
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt)
{
return "
| " +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl)
{
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData)
{
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr=0; cntr';
else
document.write('' + newTable.join('') + '
');
}
};
}();
//METRO-WEB-18
TN_Widget.AddCss('http://site_01504_011.ticketsoftware.net/widget2Css/WidgetStyle1.css');
TN_Widget.CreateTable([['Michael Buble','National Indoor Arena','Birmingham, United Kingdom','Friday','9/10/2010','7:30 PM','1338012','Michael-Buble-9-10-2010'], ['Michael Buble','Aviva Stadium','Dublin, Ireland','Friday','9/24/2010','7:00 PM','1319773','Michael-Buble-9-24-2010'], ['Michael Buble','Aviva Stadium','Dublin, Ireland','Saturday','9/25/2010','7:30 PM','1322408','Michael-Buble-9-25-2010'], ['Michael Buble','Sheffield Arena','Sheffield, United Kingdom','Monday','9/27/2010','7:00 PM','1334432','Michael-Buble-9-27-2010'], ['Michael Buble','Metro Radio Arena (formerly Telewest Arena)','Newcastle Upon Tyne, United Kingdom','Tuesday','9/28/2010','7:00 PM','1334433','Michael-Buble-9-28-2010'], ['Michael Buble','Trent FM Arena - Nottingham','Nottingham, United Kingdom','Thursday','9/30/2010','7:00 PM','1334434','Michael-Buble-9-30-2010'], ['Michael Buble','Wembley Arena, a Barclaycard Unwind Venue','London, United Kingdom','Saturday','10/2/2010','7:30 PM','1330463','Michael-Buble-10-2-2010'], ['Michael Buble','Wembley Arena, a Barclaycard Unwind Venue','London, United Kingdom','Sunday','10/3/2010','7:30 PM','1330464','Michael-Buble-10-3-2010'], ['Michael Buble','Wembley Arena, a Barclaycard Unwind Venue','London, United Kingdom','Monday','10/4/2010','7:00 PM','1331302','Michael-Buble-10-4-2010'], ['Michael Buble','Manchester Evening News Arena','Manchester, United Kingdom','Wednesday','10/6/2010','7:00 PM','1329600','Michael-Buble-10-6-2010'], ['Michael Buble','Manchester Evening News Arena','Manchester, United Kingdom','Thursday','10/7/2010','7:00 PM','1331303','Michael-Buble-10-7-2010'], ['Michael Buble','National Indoor Arena','Birmingham, United Kingdom','Saturday','10/9/2010','7:00 PM','1330793','Michael-Buble-10-9-2010'], ['Michael Buble','National Indoor Arena','Birmingham, United Kingdom','Sunday','10/10/2010','7:00 PM','1331304','Michael-Buble-10-10-2010'], ['Michael Buble','Antwerp Sportpaleis','Merksem, Belgium','Tuesday','10/12/2010','8:30 PM','1334943','Michael-Buble-10-12-2010'], ['Michael Buble','TUI Arena (formerly Preussag Arena)','Hannover, Germany','Wednesday','10/13/2010','8:00 PM','1314735','Michael-Buble-10-13-2010'], ['Michael Buble','Lanxess Arena','Köln, Germany','Thursday','10/14/2010','8:00 PM','1314736','Michael-Buble-10-14-2010'], ['Michael Buble','Festhalle - Frankfurt','Frankfurt am Main, Germany','Saturday','10/16/2010','8:00 PM','1317744','Michael-Buble-10-16-2010'], ['Michael Buble','Porsche Arena','Stuttgart, Germany','Sunday','10/17/2010','8:00 PM','1314737','Michael-Buble-10-17-2010'], ['Michael Buble','Palais Omnisports - Bercy','Paris, France','Wednesday','10/27/2010','7:00 PM','1316069','Michael-Buble-10-27-2010'], ['Michael Buble','Gelredome','Arnhem, Netherlands','Thursday','10/28/2010','8:00 PM','1386157','Michael-Buble-10-28-2010'], ['Michael Buble','Zenith De Toulouse','Toulouse, France','Friday','10/29/2010','8:00 PM','1328488','Michael-Buble-10-29-2010'], ['Michael Buble','Palau Sant Jordi','Barcelona, Spain','Saturday','10/30/2010','9:30 PM','1359007','Michael-Buble-10-30-2010'], ['Michael Buble','Palacio De Deportes','Madrid, Spain','Sunday','10/31/2010','9:30 PM','1359008','Michael-Buble-10-31-2010'], ['Michael Buble','Acer Arena','Sydney, Australia','Monday','2/14/2011','8:00 PM','1443764','Michael-Buble-2-14-2011'], ['Michael Buble','Acer Arena','Sydney, Australia','Tuesday','2/15/2011','8:00 PM','1451862','Michael-Buble-2-15-2011']]);